﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChoJu.ModelManager.Config
{
    public class WeightConfigModel
    {
        /// <summary>
        /// 串口名称
        /// </summary>
        public string ComName { get; set; } = "COM4";

        /// <summary>
        /// 波特率
        /// </summary>
        public int BaudRate { get; set; } = 9600;

        /// <summary>
        /// IP号
        /// </summary>
        public string IP { get; set; }

        /// <summary>
        /// 端口
        /// </summary>
        public string Port { get; set; }

        /// <summary>
        /// 采集个数
        /// </summary>
        public int Count { get; set; } = 5;

        /// <summary>
        /// 采集间隔
        /// </summary>
        public int Interval { get; set; } = 30;

        /// <summary>
        /// 最大最小的差值
        /// </summary>
        public float Change { get; set; } = 1;

        /// <summary>
        /// 最高值之后的平稳个数
        /// </summary>
        public int SmoothCount = 6;

        /// <summary>
        /// 卡索 1
        /// 板子 2
        /// 黑盒子 3
        /// </summary>
        public int WeiType { get; set; } = 1;
    }
}
